View Javadoc

1   /***
2    * AuthorizationServiceBindingSkeleton.java
3    *
4    * This file was auto-generated from WSDL
5    * by the Apache Axis WSDL2Java emitter.
6    */
7   
8   package org.opensciencegrid.authz.stubs;
9   
10  public class AuthorizationServiceBindingSkeleton implements org.opensciencegrid.authz.stubs.SAMLRequestPortType, org.apache.axis.wsdl.Skeleton {
11      private org.opensciencegrid.authz.stubs.SAMLRequestPortType impl;
12      private static java.util.Map _myOperations = new java.util.Hashtable();
13      private static java.util.Collection _myOperationsList = new java.util.ArrayList();
14  
15      /***
16      * Returns List of OperationDesc objects with this name
17      */
18      public static java.util.List getOperationDescByName(java.lang.String methodName) {
19          return (java.util.List)_myOperations.get(methodName);
20      }
21  
22      /***
23      * Returns Collection of OperationDescs
24      */
25      public static java.util.Collection getOperationDescs() {
26          return _myOperationsList;
27      }
28  
29      static {
30          org.apache.axis.description.OperationDesc _oper;
31          org.apache.axis.description.FaultDesc _fault;
32          org.apache.axis.description.ParameterDesc [] _params;
33          _params = new org.apache.axis.description.ParameterDesc [] {
34              new org.apache.axis.description.ParameterDesc(new javax.xml.namespace.QName("", "samlRequest"), org.apache.axis.description.ParameterDesc.IN, new javax.xml.namespace.QName("http://www.gridforum.org/namespaces/2004/03/ogsa-authz/saml", "SAMLRequestType"), org.opensciencegrid.authz.stubs.SAMLRequestType.class, false, false), 
35          };
36          _oper = new org.apache.axis.description.OperationDesc("SAMLRequest", _params, new javax.xml.namespace.QName("", "samlResponse"));
37          _oper.setReturnType(new javax.xml.namespace.QName("http://www.gridforum.org/namespaces/2004/03/ogsa-authz/saml", "SAMLResponseType"));
38          _oper.setElementQName(new javax.xml.namespace.QName("http://www.gridforum.org/namespaces/2004/03/ogsa-authz/saml", "SAMLRequest"));
39          _oper.setSoapAction("http://www.gridforum.org/namespaces/2004/03/ogsa-authz/saml#SAMLRequest");
40          _myOperationsList.add(_oper);
41          if (_myOperations.get("SAMLRequest") == null) {
42              _myOperations.put("SAMLRequest", new java.util.ArrayList());
43          }
44          ((java.util.List)_myOperations.get("SAMLRequest")).add(_oper);
45      }
46  
47      public AuthorizationServiceBindingSkeleton() {
48          this.impl = new org.opensciencegrid.authz.stubs.AuthorizationServiceBindingImpl();
49      }
50  
51      public AuthorizationServiceBindingSkeleton(org.opensciencegrid.authz.stubs.SAMLRequestPortType impl) {
52          this.impl = impl;
53      }
54      public org.opensciencegrid.authz.stubs.SAMLResponseType SAMLRequest(org.opensciencegrid.authz.stubs.SAMLRequestType samlRequest) throws java.rmi.RemoteException
55      {
56          org.opensciencegrid.authz.stubs.SAMLResponseType ret = impl.SAMLRequest(samlRequest);
57          return ret;
58      }
59  
60  }